package com.allwees.data.analysis.stat.vo;

import com.allwees.core.common.util.DateUtil;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 *
 *
 * @author yangylsky
 * @since 2020-04-14
 *
 */
@Data
@EqualsAndHashCode(callSuper=false)
@Accessors(chain = true)
public class MonthlyStatVo extends StatVo<MonthlyStatDetailVo> {
	@Override
	protected int interval() {
		return DateUtil.getMonthsBetween(dateFrom, dateTo);
	}
}
